require("mason").setup({
    ui = {
        icons = {
            package_installed = "✓",
            package_pending = "➜",
            package_uninstalled = "✗"
        }
    }
})

require("mason-lspconfig").setup({
    -- 确保安装，根据需要填写
    ensure_installed = {
        "lua_ls",
        "pylsp",
        "tailwindcss",
        "taplo",
        "cssls",
        "tsserver"
    },
})

local capabilities = require('cmp_nvim_lsp').default_capabilities()

require("lspconfig").lua_ls.setup {
    capabilities = capabilities,
}

require("lspconfig").pylsp.setup {
    capabilities = capabilities,
}


require('lspconfig').tailwindcss.setup{
    capabilities = capabilities,
}

require('lspconfig').taplo.setup{
    capabilities = capabilities,
}

require('lspconfig').cssls.setup{
    capabilities = capabilities,
}
require('lspconfig').tsserver.setup{
    capabilities = capabilities,
}
